<?php
header("Content-type: text/html; charset=utf8"); 
include_once 'Snoopy.class.php';
$snoopy = new Snoopy();

//模拟登录 wordpress
$URI = "http://www.ijquery.cn/wp-login.php";
$formvars["log"] = "xxxx";
$formvars["pwd"] = "xxxxxxx"; 
$snoopy->submittext($URI,$formvars);
echo $snoopy->results;